package com.casic.ops.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.ops.entity.domain.ApplicationPipelineTaskDetailDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ops-platform
 * @Description 应用流水线任务详情
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
public interface ApplicationPipelineTaskDetailDAO extends BaseMapper<ApplicationPipelineTaskDetailDO> {

    /**
     * 查询任务详情状态
     *
     * @param taskId taskId
     * @return rows
     */
    List<ApplicationPipelineTaskDetailDO> selectStatusByTaskId(@Param("taskId") Long taskId);

    /**
     * 查询任务详情状态
     *
     * @param idList idList
     * @return rows
     */
    List<ApplicationPipelineTaskDetailDO> selectStatusByIdList(@Param("idList") List<Long> idList);

}
